using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using Eva.DBService.Attributes;
using Eva.DBService.Enumeration;
using System.Data;

namespace Eva.DBService.DTO
{

    [DataContract]
    [DBSourcesAttribute("InstantKB13", TypeGenerationRequete.Code, "InstantKB_Articles")]
    public class ArticleInstantKB : ClasseDTO
    {
        private System.Int32 QuestionID;
        private System.String QuestionText;
        private System.String Keywords;
        private System.String AnswerText;
        private System.String ArticleType;
        private System.String SuggestedBy;
        private System.String SuggestedByEmail;
        private System.Boolean SuggestedFlag;
        private System.Int16 SkillLevel;
        private System.String RelatedLinks;
        private System.Int32 NoOfViews;
        private System.DateTime DateStamp;
        private System.DateTime LastModified;
        private System.DateTime ReviewDate;
        private System.Boolean PublishToWeb;
        private System.Int32 AdminID;

        [DataMember]
        [DBColumNameAttribute("QuestionID", TypeLecture.ReadOnly)]
        [DBTypeAttribute(DbType.Int32)]
        public System.Int32 QuestionIdentifiant
        { get { return QuestionID; } set { QuestionID = value; } }

        [DataMember]
        [DBColumNameAttribute("QuestionText")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionContenu
        { get { return QuestionText; } set { QuestionText = value; } }

        [DataMember]
        [DBColumNameAttribute("Keywords")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionKeywords
        { get { return Keywords; } set { Keywords = value; } }

        [DataMember]
        [DBColumNameAttribute("AnswerText")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionAnswerText
        { get { return AnswerText; } set { AnswerText = value; } }

        [DataMember]
        [DBColumNameAttribute("ArticleType")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionArticleType
        { get { return ArticleType; } set { ArticleType = value; } }

        [DataMember]
        [DBColumNameAttribute("SuggestedBy")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionSuggestedBy
        { get { return SuggestedBy; } set { SuggestedBy = value; } }

        [DataMember]
        [DBColumNameAttribute("SuggestedByEmail")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionSuggestedByEmail
        { get { return SuggestedByEmail; } set { SuggestedByEmail = value; } }

        [DataMember]
        [DBColumNameAttribute("SuggestedFlag")]
        [DBTypeAttribute(DbType.Boolean)]
        public System.Boolean QuestionSuggestedFlag
        { get { return SuggestedFlag; } set { SuggestedFlag = value; } }

        [DBColumNameAttribute("SkillLevel")]
        [DBTypeAttribute(DbType.Int16)]
        public System.Int16 QuestionSkillLevel
        { get { return SkillLevel; } set { SkillLevel = value; } }

        [DataMember]
        [DBColumNameAttribute("RelatedLinks")]
        [DBTypeAttribute(DbType.String)]
        public System.String QuestionRelatedLinks
        { get { return RelatedLinks; } set { RelatedLinks = value; } }

        [DataMember]
        [DBColumNameAttribute("NoOfViews")]
        [DBTypeAttribute(DbType.Int32)]
        public System.Int32 QuestionNoOfViews
        { get { return NoOfViews; } set { NoOfViews = value; } }

        [DataMember]
        [DBColumNameAttribute("DateStamp")]
        [DBTypeAttribute(DbType.DateTime)]
        public System.DateTime QuestionDateStamp
        { get { return DateStamp; } set { DateStamp = value; } }

        [DataMember]
        [DBColumNameAttribute("LastModified")]
        [DBTypeAttribute(DbType.DateTime)]
        public System.DateTime QuestionLastModified
        { get { return LastModified; } set { LastModified = value; } }

        [DataMember]
        [DBColumNameAttribute("ReviewDate")]
        [DBTypeAttribute(DbType.DateTime)]
        public System.DateTime QuestionReviewDate
        { get { return ReviewDate; } set { ReviewDate = value; } }

        [DataMember]
        [DBColumNameAttribute("PublishToWeb")]
        [DBTypeAttribute(DbType.Boolean)]
        public System.Boolean QuestionPublishToWeb
        { get { return PublishToWeb; } set { PublishToWeb = value; } }

        [DataMember]
        [DBColumNameAttribute("AdminID", TypeLecture.ReadOnly)]
        [DBTypeAttribute(DbType.Int32)]
        public System.Int32 QuestionAdminID
        { get { return AdminID; } set { AdminID = value; } }

    }
}
